
#include <cstring>

//Where all the game settings are stored 
class ODN_GameSettings
{
	
public:

	sKeySettings 		KeyBindings;
	sNetworkSettings 	NetworkSettings;
	sPlayerSettings		PlayerSettings;
	
private:
	
	//Player control key bindings 
	struct sKeySettings
	{
		sKeySettings() : Up(VK_UP), Down(KX_DOWN), Left(VK_LEFT), Right(VK_RIGHT), Fire(VK_LBUTTON), JetPack(VK_RBUTTON) 		{}
		int Up;	int Down; int Left; int Right; int Fire; int JetPack;
	};
	
	struct sNetworkSettings
	{
		//List of possible connection types 
		//TODO: Put this into network class and reference it from here 
		enum eConnectionType { CT_LAN, CT_Internet, CT_DirectIP };
		
		unsigned char 	Connection_Type;
		std::string 	Server_Name;
		std::string		Server_Password;
		unsigned char 	Max_Players; 	
	};
	
	struct sPlayerSettings
	{
		
		std::string Nickname;
		RGBAColor 	Shirt_Color;
		RGBAColor 	Pants_Color;
			
	};
	
	long spawntime;
	
	
};
